package com.example.common.config;

/**
 * TODO
 *
 * @author chenzhian
 * @version 0.1.0
 * @since 0.1.0
 */
public class RabbitMQConfig {

  /**
   * RabbitMQ队列主题的名称
   */
  public static final String RABBITMQ_DEMO_TOPIC = "rabbitmqDemoTopic";
  /**
   * RabbitMQ的Direct模式交换机名称
   */
  public static final String RABBITMQ_DEMO_DIRECT_EXCHANGE = "rabbitmqDemoDirectExchange";
  /**
   * RabbitMQ的Direct交换机和队列绑定的匹配键
   */
  public static final String RABBITMQ_DEMO_DIRECT_ROUTING = "rabbitmqDemoDirectRouting";

  public static final String RABBITMQ_DEMO_OBJECT_QUEUE = "object";

  /**
  * Topic交换机名称
  */
  public static final String RABBITMQ_TOPIC_EXCHANGE = "rabbitmqTopicExchange";

  public static final String RABBITMQ_TOPIC_QUEUE_A = "topic.a";

  public static final String RABBITMQ_TOPIC_QUEUE_B = "topic.b";

  /**
  * Fanout 广播模式
  */
  public static final String RABBITMQ_FANOUT_QUEUE_A = "fanout.A";
  public static final String RABBITMQ_FANOUT_QUEUE_B = "fanout.B";
  public static final String RABBITMQ_FANOUT_EXCHANGE = "fanoutExchange";

  /**
  * 延时队列
  */
  public static final String RABBITMQ_DELAYED_EXCHANGE = "delayed_exchange";
  public static final String RABBITMQ_DELAYED_QUEUE = "delay_queue";
  //交换机
  public static final String DELAYED_EXCHANGE ="delayed_exchange";
  //队列
  public static final String DELAYED_QUEUE ="delayed_queue";
  //routeingKey
  public static final String DELAYED_ROUTINGKEY ="delayed_routingKey";

}
